//
//  SoundRecordingView.h
//  MelonBaseProject
//
//  Created by 葛悦彣 on 2020/6/16.
//  Copyright © 2020 Melon. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, SoundRecordingViewType){
    ///最开始
    SoundRecordingViewTypeUnknown,
    ///关闭
    SoundRecordingViewTypeEnd,
    ///使用转文字
    SoundRecordingViewTypeWz,
    ///正在转文字的界面
    SoundRecordingViewTypeWzEnd,

};

@interface SoundRecordingView : UIView

@property (nonatomic ,assign) SoundRecordingViewType type;
@property (nonatomic ,assign) BOOL isClose;
@property (nonatomic ,strong) NSString * sbStr;

@property (nonatomic,assign) int timeS;

@property (nonatomic ,copy) void(^qxBlock)(void);
@property (nonatomic ,copy) void(^yyBlock)(void);
@property (nonatomic ,copy) void(^wzBlock)(void);
@property (nonatomic ,copy) void(^ovewBlock)(void);

+ (instancetype)NewSoundRecordingView;
- (void)newTime;
- (void)openTime;

@end

NS_ASSUME_NONNULL_END
